<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>比较运算符</title>
</head>
<body>
<pre>
<script type="text/javascript">
	var a=2,b=3,c="2",result;
	document.writeln("a=2,b=3,c='2'");
	document.write("a&lt;b= ");result=a<b;document.writeln(result);
	document.write("a&lt;=b= ");result=a<=b;document.writeln(result);
	document.write("a&gt;b= ");result=a>b;document.writeln(result);
	document.write("a&gt;=b= ");result=a>=b;document.writeln(result);
	document.write("a==c= ");result=a==c;document.writeln(result);
	document.write("a===c= ");result=a===c;document.writeln(result);
    document.write("a!=c= ");result=a!=c;document.writeln(result);
    document.write("a!==c= ");result=a!==c;document.writeln(result);
</script>
</pre>
</body>
</html>
